#include "menuwindow.h"

MenuWindow::MenuWindow(QDeclarativeEngine* eng)
{
    myEngine = eng;
    QDeclarativeComponent *component = new QDeclarativeComponent(myEngine, QUrl::fromLocalFile("qml/cakeTower/MainMenu.qml"));
    QDeclarativeItem *myMenuScreen = qobject_cast<QDeclarativeItem*>(component->create());
    myMenuScreen->setParentItem(this);
    myMenuScreen->setParent(this);
}

void MenuWindow::update(float deltatime)
{

}

void MenuWindow::create()
{

}
